﻿using System;
using System.Text;
using ClassLibrary.SignalType.SynchronousTransportModuleLevel1.VirtualContainer;

namespace ClassLibrary.SignalType.SynchronousTransportModuleLevel1
{
    [Serializable]
    public class Stm1 : Data
    {
        public string Msoh { get; set; }

        public string Rsoh { get; set; }

        public Vc4 Vc4 { get; set; }

        public override string ToString()
        {
            var stringBuilder = new StringBuilder();

            stringBuilder.AppendLine("[Msoh]");
            stringBuilder.AppendLine(Msoh);
            stringBuilder.AppendLine("[Rsoh]");
            stringBuilder.AppendLine(Rsoh);
            stringBuilder.AppendLine("[Vc4]");
            stringBuilder.AppendLine(Vc4.ToString());

            return stringBuilder.ToString();
        }
    }
}
